package com.success.application.shop;

import com.google.gson.reflect.TypeToken;
import com.success.application.base.BaseRecyclerViewAdapter;
import com.success.application.base.BaseRecyclerViewFragment;
import com.success.application.common.result.Result;
import com.success.application.shop.adapter.PartTimeAdapter;
import com.success.application.test.Crime;

import java.lang.reflect.Type;

/**
 * Created by Administrator on 2017/10/27.
 */

public class PartTimeFragment extends BaseRecyclerViewFragment<Crime> {
    @Override
    protected BaseRecyclerViewAdapter<Crime> getRecyclerAdapter() {
        return new PartTimeAdapter(mContext, BaseRecyclerViewAdapter.ONLY_FOOTER);
    }

    @Override
    protected Type getType() {
        return new TypeToken<Result<Crime>>() {
        }.getType();
    }

    @Override
    protected void requestData() {

    }
}
